package com.wkbb.sports.mapper;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.sports.dto.TrainTsTestDto;
import com.wkbb.sports.model.HlifeDevice;
import com.wkbb.sports.model.HlifeDeviceAuthorization;
import com.wkbb.sports.model.HlifeStudentDevice;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

public interface HlifeDeviceMapper extends BaseMapper<HlifeDevice> {

	List<HlifeDevice> getPaobuList();

	HlifeDevice getByMac(String deviceId);

	void deleteDevice(HlifeDevice params)throws Exception;

	void insertTrainTsList(List<TrainTsTestDto> list);

    void changeDeviceStatus(@Param("id") Long id, @Param("status") Integer status);

	List<HlifeDeviceAuthorization> queryDeviceAuthorizationList(@Param("projectKind")Integer projectKind);
}
